package com.ddz.library

import android.annotation.SuppressLint
import android.content.Context
import android.view.ViewDebug.ExportedProperty

@SuppressLint("StaticFieldLeak")
object JKLibrary {
    @ExportedProperty(deepExport = true)
    var context: Context? = null
        get() {
            if (field == null) {
                throw NullPointerException("请给JKLibrary初始化")
            }
            return field!!
        }
    var isDebug = false
}